package com.happy;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Auther: lifeng
 * @Date: 2018/9/6 13:58
 * @Description:
 */
@SpringBootApplication
@EnableSwagger2
public class SwaggerAppliction {
    public static void main(String[] args) {
        SpringApplicationBuilder springApplicationBuilder = new SpringApplicationBuilder(SwaggerAppliction.class);
        springApplicationBuilder.bannerMode(Banner.Mode.OFF);
        springApplicationBuilder.run(args);
    }
}
